home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Camelot / Camelot 043 (1989-06)(Swedish User Group of Amiga)(SE)(PD)[WB].zip / Camelot 043 (1989-06)(Swedish User Group of Amiga)(SE)(PD)[WB].adf / zc / cookie.h < prev    next >
Text File  |  1989-03-08  |  1KB  |  38 lines

  1. /* Copyright (c) 1988 by Sozobon, Limited.  Author: Johann Ruegg
  2.  *
  3.  * Permission is granted to anyone to use this software for any purpose
  4.  * on any computer system, and to redistribute it freely, with the
  5.  * following restrictions:
  6.  * 1) No charge may be made other than reasonable charges for reproduction.
  7.  * 2) Modified versions must be clearly marked as such.
  8.  * 3) The authors are not responsible for any harmful consequences
  9.  *    of using this software, even if they result from defects in it.
  10.  *
  11.  *    cookie.h
  12.  */
  13.  
  14. /* restrictions on type */
  15.  
  16. #define R_INTEGRAL    1
  17. #define R_FLOATING    2
  18. #define R_POINTER    4
  19. #define R_STRUCT    8
  20. #define R_ARITH        (R_INTEGRAL|R_FLOATING)
  21. #define R_SCALAR    (R_ARITH|R_POINTER)
  22. #define R_ASSN        (R_SCALAR|R_STRUCT)
  23.  
  24. /* cookies */
  25. #define FORSIDE        1
  26. #define FORPUSH        2
  27. #define FORCC        3
  28. #define FORIMA        4
  29. #define FORADR        5
  30. #define FORINIT        6
  31. #define IND0        7
  32. #define RETSTRU        8
  33.  
  34. /* eval flags derived from cookie */
  35. #define NOVAL_OK    1    /* value is optional */
  36. #define CC_OK        2    /* just setting cond. codes okay */
  37. #define IMMA_OK        4    /* immediate OREG is okay */
  38.